<ul>
	<?php if(count($users)>0): ?>
		<?php foreach($users as $user): ?>
		<li><a href="javascript:void(0)" onclick="YambRestart('<?php echo $uuid; ?>', true, '<?php echo $user["id"]; ?>', '<?php echo $user["username"]; ?>');"><?php echo $user["username"]; ?></a></li>
		<?php endforeach; ?>
	<?php else: ?>
		<li>There is no user available for game at the moment. Please try again later.</li>
	<?php endif; ?>

	<?php if(count(@$fb_users)>0): ?>
		<?php foreach($fb_users as $fb_user) ?>
		<li class="facebook"><a href="javascript:void(0)" onclick="YambRestart('<?php echo $uuid; ?>', true, 'fb<?php echo $fb_user["id"]; ?>', '<?php echo $user["name"]; ?>');"><?php echo $fb_user["name"]; ?></a></li>
		<?php ?>
	<?php endif; ?>
</ul>